package com.easyar.customizdblibrary;

import android.database.sqlite.SQLiteDatabase;

import java.util.List;

/**
 * Created by Sigthp-P-Department on 2018/4/11.
 */

public interface ICustomisDBDao<T> {

    void init(SQLiteDatabase mSqLiteDatabase, Class<T> clazz);

    long insert(T t);

    void insert(List<T> t);

    //查询方法封装类
    QueryDB<T> queryDB();

    int delete(String whereClause, String... whereArgs);

    int update(T t, String whereClause, String... whereArgs);
}
